<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">   
    <title>My JSP 'orderdetail.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="css/common.css">
  </head>
  
  <body>
    <div class="centerdiv">
    	<table class="tablestyle">
    		<tr class="title_font">
    			<td colspan="4">该订单所包含的书目</td>
    		</tr>
    		<tr class="table_title">
    			<th>图书封面</th>
    			<th>图书名称</th>
    			<th>单价</th>
    			<th>数量</th>
    		</tr>
    		<s:iterator value="%{orderItemList}">
    			<tr align="center">
	    			<td>
	    				<img width="80px" height="120px" alt="<s:property value='title'/>" src="<s:property value='picturePath' />">
	    			</td>
	    			<td>	
	    				<s:property value="title"/>
	    			</td>
	    			<td><s:property value="price"/></td>
	    			<td><s:property value="amount"/></td>
    			</tr>
    		</s:iterator>
    		<tr>
    			<td colspan="4" align="right">
    				<a href="jsp_admin_orderselect.action">返回</a>
    			</td>
    		</tr>
    	</table>
    </div>
  </body>
</html>
